import axios from '@/libs/api.request'
// 登录
export const login = (data) => {
  return axios.request({
    url: '/login',
    data,
    method: 'post'
  })
}

// 获取用户信息
export const getInfo = (parm) => {
  return axios.request({
    url: '/admin/user/get_info',
    // params: {
    //   userId: parm.userId
    // },
    method: 'get'
  })
}

// 验证码
export const send_Code = (data) => {
  return axios.request({
    url: '/send_code',
    data,
    method: 'post'
  })
}

